list1 = [1, 2, 3, 4, 5, 6, 7, 8, 9]
list2 = [1, 2, 3, 4, 5, 6, 7, 8, 9]

for i in list1:
    for j in list2:
        if j <= i:
            sum1 = j * i
            print(j, '*', i, '=', sum1, end='  ')
    print()




